import { Layout, Wms } from '@/views/';
export default {
  meta: {
    name: '仓单系统'
  },
  path: '/wms/',
  component: Layout.Home,
  children: [
    {
      meta: {
        name: '库存管理'
      },
      path: 'stockmanager',
      name: 'stockmanagerWms',
      component: Layout.Content,
      children: [
        {
          meta: {
            name: '订单管理'
          },
          path: 'order',
          name: 'orderManagement',
          component: Wms.stockmanager.orderList
        },
        {
          meta: {
            name: '找库'
          },
          path: 'findStorage',
          name: 'FindStorage',
          component: Wms.stockmanager.findStorage
        },
        {
          meta: {
            name: '找库订单详情'
          },
          path: 'orderDetail',
          name: 'FindStoreOrderDetail',
          component: Wms.stockmanager.orderDetail
        },
        {
          meta: {
            name: '入库管理'
          },
          path: 'instoreMana',
          name: 'instoreMana',
          component: Wms.stockmanager.instoreManaYc
        },
        {
          meta: {
            name: '出库管理'
          },
          path: 'outstoreManagement',
          name: 'outstoreManagement',
          component: Wms.stockmanager.outStoreList
        },
        {
          meta: {
            name: '抄码'
          },
          path: 'sacnManagement',
          name: 'sacnManagement',
          component: Wms.stockmanager.scanPlanList
        }
      ]
    },
    {
      meta: {
        name: '数据查询'
      },
      path: 'dataquery',
      name: 'dataqueryWms',
      component: Layout.Content,
      children: [
        {
          meta: {
            name: '库存一览'
          },
          path: 'stockquery',
          name: 'stockquery',
          component: Wms.dataquery.stockquery
        },
        {
          meta: {
            name: '仓单查询'
          },
          path: 'billlist',
          name: 'billlist',
          component: Wms.dataquery.billlist
        },
        {
          meta: {
            name: '出库历史'
          },
          path: 'outstorehistory',
          name: 'outstorehistory',
          component: Wms.dataquery.outstorehistory
        },
        {
          meta: {
            name: '入库历史'
          },
          path: 'instorehistory',
          name: 'instorehistory',
          component: Wms.dataquery.instorehistory
        }
      ]
    },
    {
      meta: {
        name: '基础信息'
      },
      path: 'baseinfo',
      name: 'baseinfoWms',
      component: Layout.Content,
      children: [
        {
          meta: {
            name: '用户审核'
          },
          path: 'useraudit',
          name: 'useraudit',
          component: Wms.baseinfo.baseAuditList
        },
        {
          meta: {
            name: '仓库管理'
          },
          path: 'admin',
          name: 'admin',
          component: Wms.baseinfo.baseAdminList
        },
        {
          meta: {
            name: '编辑信息'
          },
          path: 'editinfo',
          name: 'editinfo',
          component: Wms.baseinfo.baseEditInfoEdit
        },
        {
          meta: {
            name: '客户管理'
          },
          path: 'client',
          name: 'clientManagement',
          component: Wms.baseinfo.baseClientList
        }
      ]
    },
    {
      meta: {
        name: '认证仓库'
      },
      path: 'storemanage',
      name: 'storemanage',
      component: Layout.Content,
      children: [
        {
          meta: {
            name: '选择仓库'
          },
          path: 'storeSelect',
          name: 'StoreSelect',
          component: Wms.storemanage.storeSelect
        },
        {
          meta: {
            name: '仓库详情'
          },
          path: 'storeDetail',
          name: 'StoreDetail',
          component: Wms.storemanage.storeDetail
        }
      ]
    },
    {
      meta: {
        name: '仓单交易'
      },
      path: 'trade',
      name: 'trade',
      component: Layout.Content,
      children: [
        {
          meta: {
            name: '约定回购'
          },
          path: 'buyback',
          name: 'BuyBackList',
          component: Wms.trade.buybackList
        }
      ]
    }
  ]
};
